
<h1>Angular Router App</h1>
<!-- This nav gives you links to click, which tells the router which route to use (defined in the routes constant in  AppRoutingModule) -->
<nav>
  <ul>
    <!-- 这里dashboard 和 order 加不加 '/' 都是可以的 -->
    <li><a routerLink="/dashboard" routerLinkActive="active">dashbord Component</a></li>
    <li><a routerLink="/order" routerLinkActive="active">order Component</a></li>
  </ul>
</nav>

<router-outlet></router-outlet>


